package com.jumi.microservice.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 业绩数据统计
 * @author ssk
 * @create 20/11/13 14:34
 **/
public class JmUserStatisticsSales implements Serializable {

    private static final long serialVersionUID = 135133799840252346L;
    @ApiModelProperty("主键ID")
    private Integer id;

    @ApiModelProperty("用户Id")
    private Integer uid;

    @ApiModelProperty("上级用户ID")
    private Integer pid;

    @ApiModelProperty("业绩")
    private BigDecimal sales;

    @ApiModelProperty("昨日业绩")
    private BigDecimal salesYesterday;

    @ApiModelProperty("昨日单量")
    private int orderCountYesterday;

    @ApiModelProperty("昨日自购业绩")
    private BigDecimal salesSelfYesterday;

    @ApiModelProperty("昨日直属业绩")
    private BigDecimal salesDirectYesterday;

    @ApiModelProperty("昨日团队业绩")
    private BigDecimal salesTeamYesterday;

    @ApiModelProperty("7日业绩")
    private BigDecimal salesWeek;

    @ApiModelProperty("7日单量")
    private int orderCountWeek;

    @ApiModelProperty("7日直属业绩")
    private BigDecimal salesSelfWeek;

    @ApiModelProperty("7日直属业绩")
    private BigDecimal salesDirectWeek;

    @ApiModelProperty("7日团队业绩")
    private BigDecimal salesTeamWeek;

    @ApiModelProperty("30日业绩")
    private BigDecimal salesMonth;

    @ApiModelProperty("30日单量")
    private int orderCountMonth;

    @ApiModelProperty("30日自购业绩")
    private BigDecimal salesSelfMonth;

    @ApiModelProperty("30日直属业绩")
    private BigDecimal salesDirectMonth;

    @ApiModelProperty("30日直属业绩")
    private BigDecimal salesTeamMonth;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public BigDecimal getSales() {
        return sales;
    }

    public void setSales(BigDecimal sales) {
        this.sales = sales;
    }

    public BigDecimal getSalesYesterday() {
        return salesYesterday;
    }

    public void setSalesYesterday(BigDecimal salesYesterday) {
        this.salesYesterday = salesYesterday;
    }

    public int getOrderCountYesterday() {
        return orderCountYesterday;
    }

    public void setOrderCountYesterday(int orderCountYesterday) {
        this.orderCountYesterday = orderCountYesterday;
    }

    public BigDecimal getSalesSelfYesterday() {
        return salesSelfYesterday;
    }

    public void setSalesSelfYesterday(BigDecimal salesSelfYesterday) {
        this.salesSelfYesterday = salesSelfYesterday;
    }

    public BigDecimal getSalesDirectYesterday() {
        return salesDirectYesterday;
    }

    public void setSalesDirectYesterday(BigDecimal salesDirectYesterday) {
        this.salesDirectYesterday = salesDirectYesterday;
    }

    public BigDecimal getSalesTeamYesterday() {
        return salesTeamYesterday;
    }

    public void setSalesTeamYesterday(BigDecimal salesTeamYesterday) {
        this.salesTeamYesterday = salesTeamYesterday;
    }

    public BigDecimal getSalesWeek() {
        return salesWeek;
    }

    public void setSalesWeek(BigDecimal salesWeek) {
        this.salesWeek = salesWeek;
    }

    public int getOrderCountWeek() {
        return orderCountWeek;
    }

    public void setOrderCountWeek(int orderCountWeek) {
        this.orderCountWeek = orderCountWeek;
    }

    public BigDecimal getSalesSelfWeek() {
        return salesSelfWeek;
    }

    public void setSalesSelfWeek(BigDecimal salesSelfWeek) {
        this.salesSelfWeek = salesSelfWeek;
    }

    public BigDecimal getSalesDirectWeek() {
        return salesDirectWeek;
    }

    public void setSalesDirectWeek(BigDecimal salesDirectWeek) {
        this.salesDirectWeek = salesDirectWeek;
    }

    public BigDecimal getSalesTeamWeek() {
        return salesTeamWeek;
    }

    public void setSalesTeamWeek(BigDecimal salesTeamWeek) {
        this.salesTeamWeek = salesTeamWeek;
    }

    public BigDecimal getSalesMonth() {
        return salesMonth;
    }

    public void setSalesMonth(BigDecimal salesMonth) {
        this.salesMonth = salesMonth;
    }

    public int getOrderCountMonth() {
        return orderCountMonth;
    }

    public void setOrderCountMonth(int orderCountMonth) {
        this.orderCountMonth = orderCountMonth;
    }

    public BigDecimal getSalesSelfMonth() {
        return salesSelfMonth;
    }

    public void setSalesSelfMonth(BigDecimal salesSelfMonth) {
        this.salesSelfMonth = salesSelfMonth;
    }

    public BigDecimal getSalesDirectMonth() {
        return salesDirectMonth;
    }

    public void setSalesDirectMonth(BigDecimal salesDirectMonth) {
        this.salesDirectMonth = salesDirectMonth;
    }

    public BigDecimal getSalesTeamMonth() {
        return salesTeamMonth;
    }

    public void setSalesTeamMonth(BigDecimal salesTeamMonth) {
        this.salesTeamMonth = salesTeamMonth;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
